package com.slf.engine.common;

import com.slf.common.util.ReadProperties;



public class SysContants {

	public static final String CONFIG_FILE_NAME = "config.properties";
	
	public static final int MAX_TASKNUM = Integer.parseInt(ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("max.tasknum"));
	public static final int MAX_NOTICE_NUM = Integer.parseInt(ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("max.notice.num"));
	
	public static final String DX_SUPID = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("dx.supid");
	public static final String DX_PWD = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("dx.pwd");
	public static final String DX_KEY = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("dx.key");

	public static final String SZGJ_URL = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("szgj.url");
	public static final String SZGJ_LOGINNAME = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("szgj.loginname");
	public static final String SZGJ_PASSWORD = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("szgj.password");
	public static final String SZGJ_PAYPWD = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("szgj.paypwd");
	public static final String SZGJ_QURL = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("szgj.qurl");
	public static final String SZGJ_NOTICEURL = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("szgj.noticeurl");
	public static final String DEFAULT_CHARSET = "utf-8";
	
	public static final int CZ_SUCCESS = 1;
	public static final int CZ_FAILURE = 2;
	public static final int CZ_UNKNOW = 3;
	public static final int CZ_RUN = 5;
	
	public static final String DX_GET_URL = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("dx.get.url");
	public static final String DX_BACK_URL = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("dx.back.url");
	public static final String DX_POST_URL = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("dx.post.url");
	
	public static final String BOSS_LOGIN_NAME = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("boss.login.name");
	public static final String BOSS_LOGIN_PWD = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("boss.login.pwd");
	public static final String BOSS_WBS_URL = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("boss.wbs.url");//boss webservice访问地址
	public static final String TDBH = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("tdbh");
	public static final String SSDQ = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("ssdq");
	public static final String REQ_CODE = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("req.code");
	public static final String RES_CODE = ReadProperties.getProp(CONFIG_FILE_NAME).getProperty("res.code");
}
